package com.wq.server.impl;

import com.wq.dao.UserDao;
import com.wq.dao.impl.UserDaoImpl;
import com.wq.server.UserServer;

import java.util.*;

public class UserServerImpl3 implements UserServer {
    private String[] arr;
    private List list ;
    private Set set;
    private Map map;
    private Properties properties;

    public void setArr(String[] arr) {
        this.arr = arr;
    }

    public void setList(List list) {
        this.list = list;
    }

    public void setSet(Set set) {
        this.set = set;
    }

    public void setMap(Map map) {
        this.map = map;
    }

    public void setProperties(Properties properties) {
        this.properties = properties;
    }

    @Override
    public String toString() {
        return "UserServerImpl3{" +
                "arr=" + Arrays.toString(arr) +
                ", list=" + list +
                ", set=" + set +
                ", map=" + map +
                ", properties=" + properties +
                '}';
    }

    @Override
    public void money(double money) {
        UserDao dao=new UserDaoImpl();
        dao.UserAcc(money);

    }

}
